/*
 * AvionService.java
 *
 * Created on 22 de noviembre de 2007, 21:46
 *
 * To change this template, choose Tools | Template Manager
 * and open the template in the editor.
 */

package com.fiuba.aterrizar.servidor.service;

import com.fiuba.aterrizar.servidor.dto.AvionDTO;
import com.fiuba.aterrizar.servidor.exception.AvionExistenteException;
import java.util.Collection;

/**
 *
 * @author Demian
 */
public interface AvionService {

    public Collection findAll(String modelo, String codigo);
    
    public Collection findAllModelos();
    
    public void eliminar(String codigo);

    public void agregar(AvionDTO avion) throws AvionExistenteException;
    
    public void modificar(AvionDTO avion);
}
